package com.example.model;

public class Farmer {
    private String farmerName;
    private String farmerCode;

    public Farmer(String farmerName, String farmerCode) {
        this.farmerName = farmerName;
        this.farmerCode = farmerCode;
    }

    public String getFarmerName() {
        return farmerName;
    }

    public void setFarmerName(String farmerName) {
        this.farmerName = farmerName;
    }

    public String getFarmerCode() {
        return farmerCode;
    }

    public void setFarmerCode(String farmerCode) {
        this.farmerCode = farmerCode;
    }

    @Override
    public String toString() {
        return "Farmer{" +
                "farmerName='" + farmerName + '\'' +
                ", farmerCode='" + farmerCode + '\'' +
                '}';
    }
}
